﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.SessionState;
using SBACN.WebSite.Common;

namespace SBACN.WebSite.Code
{
	public abstract class BaseHandler : IHttpHandler, IRequiresSessionState
	{
		protected HttpContext httpContext
		{
			get;
			set;
		}

		public bool IsReusable
		{
			get { return true; }
		}

		public void ProcessRequest(HttpContext context)
		{
			httpContext = context;
			Process();
		}

		public abstract void Process();
	}
}